home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
program
/
snpd9611.zip
/
EXTKWORD.H
< prev
next >
Wrap
Text File
|
1996-11-24
|
2KB
|
63 lines
.I 0 1
/* +++Date last modified: 28-Sep-1996 */
.D 1 1
.I 2 2
/*====================================================================
.I 14 5
25-Sep-95 Bob Stout Original from PC-PORT.H
30-Mar-96 Ed Blackman OS/2 mods for OS/2 ver 2.0 and up
30-May-96 Andrew Clarke Added support for WATCOM C/C++ __NT__ macro.
17-Jun-96 Bob Stout Added __FLAT__ macros support
20-Aug-96 Bob Stout Eliminate Win32 conflicts
.D 15 1
.I 20 1
#ifndef EXTKWORD__H
.D 21 1
.I 24 20
** Watcom defines __FLAT__ for 32-bit environments and so will we
*/
#if !defined(__FLAT__) && !defined(__WATCOMC__) && !defined(_MSC_VER)
#if defined(__GNUC__)
#define __FLAT__ 1
#elif defined (_WIN32) || defined(WIN32) || defined(__NT__)
#define __FLAT__ 1
#elif defined(__INTSIZE)
#if (4 == __INTSIZE)
#define __FLAT__ 1
#endif
#elif (defined(__ZTC__) && !defined(__SC__)) || defined(__TURBOC__)
#if (4==sizeof(int)) /* Technically illegal */
#define __FLAT__ 1
#endif
#endif
#endif
/*
.I 27 2
#if defined(__OS2__) /* EBB: not sure this works for OS/2 1.x */
#include <os2def.h>
.D 28 2
.I 31 12
#elif defined(_WIN32) || defined(WIN32) || defined(__NT__)
#define WIN32_LEAN_AND_MEAN
#define NOGDI
#define NOSERVICE
#undef INC_OLE1
#undef INC_OLE2
#include <windows.h>
#define INTERRUPT
#define HUGE
#else /* ! Win 32 or OS/2 */
#if (defined(__POWERC) || (defined(__TURBOC__) && !defined(__BORLANDC__)) \
|| (defined(__ZTC__) && !defined(__SC__))) && !defined(__FLAT__)
.D 32 3
.I 38 2
#if (defined(__ZTC__) && !defined(__SC__)) || (defined(__SC__) && \
(__SC__ < 0x700))
.D 39 1
.I 46 1
#if (defined(__MSDOS__) || defined(MSDOS)) && !defined(__FLAT__)
.D 47 1